package com.fullstackdaytwo.registerlogin.pojo;

import java.util.Date;

/**
 * @Description: 管理员，继承用户抽象类
 * @author: Aron
 * @date: 2021.10.13
 */

public class Admin extends AbstractUser {
    private String userName;
    private String passWord;
    private String userType;

    public Admin(String userType,String userName, String passWord) {
        this.userName = userName;
        this.passWord = passWord;
        this.userType = userType;
    }

    @Override
    public String getUserName() {
        return userName;
    }

    @Override
    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String getPassWord() {
        return passWord;
    }

    @Override
    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    @Override
    public String getUserType() {
        return userType;
    }

    @Override
    public void setUserType(String userType) {
        this.userType = userType;
    }
}
